Nuprl Lemma : priority-select-ff 0,22

T:Type, as:T List, fg:(T).
T  
 sorted(as)
 (priority-select(f;g;as) = inl(false +Unit
 (
 ((aas.g(a) & (b:T. (b  as ba  f(b)))) 
latex


DefinitionsP & Q, x:AB(x), sorted(L), (xL.P(x)), t  T, x:AB(x), b, A, AB, P  Q, Prop, (x  l), xt(x), P  Q, {i..j}, False, ||as||, i  j < k, l[i], P  Q, Unit, false, priority-select(f;g;as), , S  T, , P  Q, Dec(P), A & B, ij, {T}, SQType(T)
Lemmasdecidable int equal, decidable le, select member, sorted wf, priority-select-property, iff functionality wrt iff, bool wf, priority-select wf, bfalse wf, unit wf, int seg wf, select wf, length wf1, l exists wf, l member wf, le wf, not wf, assert wf

origin